﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace examprojekt09
{
    class Project
    {
        int id;
        string projectName;
        string projectDesc;
        string projectStart;
        string projectEnd;
        int requiredEmployees;
        public Project(int id, string projectName, string projectDesc, string projectStart, string projectEnd, int requiredEmployees)
        {
            this.id = id;
            this.projectName = projectName;
            this.projectDesc = projectDesc;
            this.projectStart = projectStart;
            this.projectEnd = projectEnd;
            this.requiredEmployees = requiredEmployees;
        }
        // Get/set ID
        public int getId()
        {
            return id;
        }
        public void setId(int id)
        {
            this.id = id;
        }
        // Get/set Projectname
        public string getProjectName()
        {
            return projectName;
        }
        public void setProjectName(string projectName)
        {
            this.projectName = projectName;
        }
        // Get/set Projectdesc
        public string getProjectDesc()
        {
            return projectDesc;
        }
        public void setProjectDesc(string projectDesc)
        {
            this.projectDesc = projectDesc;
        }
        // Get/set Projectstart
        public string getProjectStart()
        {
            return projectStart;
        }
        public void setProjectStart(string projectStart)
        {
            this.projectStart = projectStart;
        }
        // Get/set Projectend
        public string getProjectEnd()
        {
            return projectEnd;
        }
        public void setProjectEnd(string projectEnd)
        {
            this.projectEnd = projectEnd;
        }
        // Get/set Requiredemployees
        public int getRequiredEmployees()
        {
            return requiredEmployees;
        }
        public void setRequiredEmployees(int requiredEmployees)
        {
            this.requiredEmployees = requiredEmployees;
        }
        // Get/set TOSTRING
        public override string ToString()
        {
            return this.projectName;
        }

    }
}
